import { http } from '../../utils/request'
import type { Response, UserResponse } from '../type'

export const healthApi = async (): Promise<Response<UserResponse>> => {
  return await http.get<Response<UserResponse>>('/api/health')
}
